package com.ianmoone.JZOF;

import java.util.Scanner;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

public class ScannerTest {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		/*
		 * 3 4
		 * 1,2,1,3
		 * 2,2,1,3
		 * 1,2,1,3
		 */
		int n = scanner.nextInt();
		String a =scanner.next();
		int m = scanner.nextInt();
		System.out.println(m);
		
	}
}
